/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package msgserver;

/**
 *
 * @author Данила
 */
import java.io.File;
import java.rmi.*;
import java.util.List;
public interface RecieveMessageInterface extends Remote
{
 void receiveMessage(String username, String message) throws RemoteException;
 void hasClientUnrecievedMessage(String username) throws RemoteException;
 String sendMessage(String username) throws RemoteException;
 void receiveClientData(String username, String password) throws RemoteException;
 boolean checkClientData(String username, String password) throws RemoteException;
 int disconnectClient(String username) throws RemoteException;
 List getListOnlineClients() throws RemoteException;
 void getFileFromClient(byte[] file) throws RemoteException; 
 String runProgram(String command) throws RemoteException;
 
}
